package game;

import javax.vecmath.*;

import sceneGraph.*;

public class Enemy1 extends AbstractPlanetObject implements ISceneObject, IIntersectable, IEnemy {

	private static Color3f color = new Color3f(0.4f, 0.0f, 0.8f);

	public Enemy1(Point3f pos) {
		super(pos, 0.1f, color, color, color, 10);
	}

	public void advanceTowards(Point3f p) {
		Vector3f moveDirection = new Vector3f(direction);
		moveDirection.scale(0.1f);
		pos.add(moveDirection);
	}

	@Override
	public void accept(Visitor visitor) {
		visitor.visit(this);
	}

}
